MCClick
Your application should call theMCClick
function when the user clicks in a movie controller window.
pascal ComponentResult MCClick (MovieController mc, WindowPtr w, Point where, long when, long modifiers);
mc
- Specifies the movie controller for the operation. You obtain this identifier from the Component Manager's
OpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function (described on page 2-28).w
- Specifies the window in which the event has occurred.
where
- Indicates the location of the click. This value is expressed in the local coordinates of the window specified by the
w
parameter. Your application must convert this value from the global coordinates returned in the event structure.when
- Indicates when the user pressed the mouse button. You obtain this value from the event structure.
modifiers
- Specifies modifier flags for the event. You obtain this value from the event structure.
DESCRIPTION
TheMCClick
function returns a value indicating whether it handled the event. The function sets the returned value to 1 if it handles the event. The function sets the returned value to 0 if it does not handle the event. In this case, your application is responsible for the event.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help